home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
programs.arc
/
SANAL.HLP
< prev
next >
Wrap
Text File
|
1986-10-07
|
702b
|
24 lines
SENTENCE ANALYZER
******************
Sanal can analyze a simple English sentence and draw a tree diagram
based on sentence structure.
The sentences which can be recognized must conform to the following
syntax: (note: refer to chapter 12 for rules on BNF notation.)
<SENTENCE> ::= <NOUN PHRASE> <VERB PHRASE>
where:
<NOUN PHRASE> ::= <DETERMINER> <noun> <RELATIONAL CLAUSE>
<DETERMINER> ::= <> | <determiner>
<RELATIONAL CLAUSE> ::= <> | <relative> <VERB PHRASE>
<VERB PHRASE> ::= <verb> | <NOUN PHRASE>
(note: refer to chapter 12 for rules on BNF notation.)
Try with the sentence: every man that lives loves a woman